/*
 * HoleJump.hpp
 *
 *  Created on: 11 déc. 2011
 *      Author: Elca
 */

#ifndef HOLEJUMP_HPP_
#define HOLEJUMP_HPP_

#include <iostream>
using namespace std;


namespace pcm {

class HoleJump {
public:
	HoleJump();
	HoleJump(short int _start,short int _jump,short int _end);
	virtual ~HoleJump();
	inline void updateHoleJump(short int _start,short int _jump,short int _end){
		m_start = _start;
		m_jump = _jump;
		m_end = _end;
	}
	inline short int start() const{
		return m_start;
	}
	inline short int jump() const{
		return m_jump;
	}
	inline short int end() const{
		return m_end;
	}
	friend ostream& operator <<(ostream &os,const HoleJump &obj);
protected:
	short int m_start;
	short int m_jump;
	short int m_end;
};

} /* namespace pcm */
#endif /* HOLEJUMP_HPP_ */
